<?php

defined('IN_SCHOOL') or die();

/*{TranslateTagBegin}*/
session_start();

$jyvcode = core::gpc('jyvcode','P');

if(empty($jyvcode)) {
	$this->message('请填写验证码','index.php?user-login.htm');
}
if(!isset($_SESSION['JY_VCODE']) || $_SESSION['JY_VCODE'] != $jyvcode) {
	$this->message('验证码错误','index.php?user-login.htm');
}
$_SESSION['JY_VCODE'] = 0;
/*{TranslateTagEnd}*/

?>